package com.gxa.logistics.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.logistics.domain.dto.EmployeeReqListDTO;
import com.gxa.logistics.domain.dto.EmployeeSaveDTO;
import com.gxa.logistics.domain.dto.EmployeeUpdateDTO;
import com.gxa.logistics.domain.entity.Employee;
import com.gxa.logistics.domain.vo.EmployeeVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EmployeeMapper {
    List<EmployeeVO> findEmployeeByWhere(EmployeeReqListDTO employeeReqListDTO);

    void insertEmployee(EmployeeSaveDTO employeeSaveDTO);

    void updateEmployee(EmployeeUpdateDTO employeeUpdateDTO);

    void deleteEmployeeById(Integer employeeId);

    void freezeEmployeeById(Integer employeeId);

}
